package wangxiaotao.bean.dto;

import lombok.AllArgsConstructor;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@AllArgsConstructor
public class PasswordDTO implements Serializable {
    @NotNull(message = "id不能为空")
    private Integer id;

    @NotBlank(message = "密码不能为空")
    private String password;
}
